package com.xiaoxiaoxt.xiaoxiaoxtdao.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.ArrayList;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@Table(name = "mo_paper")
public class Paper {
    @Id
    private Integer id;

    private Integer createdAt;

    private Integer updatedAt;

    private String alias;

    private Integer kemuid;

    private Byte ispublic;

    private Integer isanswer;

    private Integer passscore;

    private Integer totalscore;

    private Integer questioncount;

    private Integer clickcount;

    private Byte timelimitenable;

    private Integer timelimitvalue;

    private String typeid;

    private Integer mid;

    private String leixingid;

    private String tagid;

    private Integer click;

    private Integer topid;

    private String cuoti;

    private Integer sid;

    private Integer audit;

    private String tag;

    private String source;

    private Integer sort;

    private String title;

    private String data;

    private String dataExam;

    private String dataanswer;

    private String demo;

    private ArrayList<PaperGroup> paperGroups;

    @Override
    public String toString() {
        return "Paper{" +
                "id=" + id +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                ", alias='" + alias + '\'' +
                ", kemuid=" + kemuid +
                ", ispublic=" + ispublic +
                ", isanswer=" + isanswer +
                ", passscore=" + passscore +
                ", totalscore=" + totalscore +
                ", questioncount=" + questioncount +
                ", clickcount=" + clickcount +
                ", timelimitenable=" + timelimitenable +
                ", timelimitvalue=" + timelimitvalue +
                ", typeid='" + typeid + '\'' +
                ", mid=" + mid +
                ", leixingid='" + leixingid + '\'' +
                ", tagid='" + tagid + '\'' +
                ", click=" + click +
                ", topid=" + topid +
                ", cuoti='" + cuoti + '\'' +
                ", sid=" + sid +
                ", audit=" + audit +
                ", tag='" + tag + '\'' +
                ", source='" + source + '\'' +
                ", sort=" + sort +
                ", title='" + title + '\'' +
                ", data='" + data + '\'' +
                ", dataExam='" + dataExam + '\'' +
                ", dataanswer='" + dataanswer + '\'' +
                ", demo='" + demo + '\'' +
                ", paperGroups=" + paperGroups +
                '}';
    }
}